import request from '@/router/axios';

//查询币种
export const getList = (current, size, params) => {
    return request({
        url: '/api/blade-tms/currencyType/currency/list',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}
//币种新增/编辑
export const update = (data) => {
    return request({
        url: '/api/blade-tms/currencyType/currency/submit',
        method: 'post',
        data: {
            ...data,
        }
    })
}
//删除币种
export const remove = (ids) => {
    return request({
        url: '/api/blade-tms/currencyType/currency/remove?ids=' + ids,
        method: 'post',
    })
}